import * as Mock from 'mockjs'
const Random = Mock.Random
let arr = new Array<Topic>()
let names = ['推荐', '鞋履', '箱包', '服装', '服饰', '配饰', '品质生活']
for (let i = 0; i < names.length; i++) {
    arr.push({
        name: names[i],
        topicId: i
    })
}

let res = {
    code: 200,
    message: 'ok',
    data: arr
}

console.log(JSON.stringify(res))
